<?php
if(!defined('INEZCMS')){
	exit('Access Denied');
}
include_once 'libs/ez.config.php';

$ad21=$ezhand->select_all("adv","title,url,picurl","spaceid=21 order by id desc limit 0,3");
$ad22=$ezhand->select_all("adv","title,url,picurl","spaceid=21 order by id desc limit 3,3");
$focuslist=$ezhand->select_all("focus",'*','disabled=1  order by listorder asc,id desc  limit 10');

$ad23=$ezhand->select_all("adv","title,url,picurl","spaceid=23 order by id desc limit 0,5");
$ad24=$ezhand->select_all("adv","title,url,picurl","spaceid=24 order by id desc limit 0,6");

$newgoods=$ezhand->select_all("thread t,goods g","t.id,t.title,t.thumb,g.price","t.id=g.tid and t.modelid=11 order by t.id desc limit 0,10");

$newlists=$ezhand->select_all("thread","id,title,inputtime,description"," catid=75 order by listorder desc,id desc limit 0,10");


$hotgoods=$ezhand->select_all("thread t,goods g","t.id,t.title,t.thumb,g.price","t.id=g.tid and t.modelid=11 order by t.listorder desc,t.id desc limit 0,5");


$salegoods=$ezhand->select_all("thread t,goods g","t.id,t.title,t.thumb,g.price","t.id=g.tid and g.issale=1 order by t.listorder desc,t.id desc limit 0,5");


?>